package ExpressDelivery;

public abstract class Transportation{
    private String number;
    private String model;
    private String admin;
    //??
    public Transportation(){
        super();
    }
    //将方法中的参数传给该类私有
    public Transportation(String number,String model,String admin){
        this.number = number;
        this.model = model;
        this.admin = admin;
    }
    public abstract void transport(); //?
    //同Transportation,但只有number
    public void setNumber(String number){
        this.number = number;
    }
    public String getNumber(){
        return number; 
    } 
    public void setModel(String model){
        this.model = model;
    }
    public String getModel(){
        return model; 
    } 
    public void setadmin(String admin){
        this.admin = admin;
    }
    public String getAdmin(){
        return admin; 
    } 
}
